package com.xjrsoft.module.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 代码模板历史记录
 * </p>
 *
 * @author zlf
 * @since 2024-04-18
 */
@Data
@TableName("xjr_code_schema_history")
@ApiModel(value = "CodeSchemaHistory对象", description = "代码模板历史记录")
public class CodeSchemaHistory implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        private Long id;

      @ApiModelProperty("代码模板主键")
      private Long codeSchemaId;

      @ApiModelProperty("名称")
      private String name;

      @ApiModelProperty("类型（0-数据优先模板,1-界面优先模板,2-简易模板）")
      private Integer type;

      @ApiModelProperty("分类（关联数据字典）")
      private Long category;

      @ApiModelProperty("内容")
      private String content;

      @ApiModelProperty("描述")
      private String remark;

      @ApiModelProperty("创建时间")
      private LocalDateTime createDate;

      @ApiModelProperty("创建人主键")
      private Long createUserId;

      @ApiModelProperty("修改时间")
      private LocalDateTime modifyDate;

      @ApiModelProperty("修改人主键")
      private Long modifyUserId;

      @ApiModelProperty("删除标记")
      private Integer deleteMark;

      @ApiModelProperty("有效标记")
      private Integer enabledMark;

      @ApiModelProperty("模板状态（0-草稿，1-正式）")
      private Integer status;

      @ApiModelProperty("功能描述")
      private String description;

      @ApiModelProperty("表单主键")
      private Long formId;

      @ApiModelProperty("版本号")
      private Integer version;
}
